package com.qiye.livevideo.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Date;
import java.math.BigDecimal;

import com.qiye.livevideo.common.BaseBean;
import com.qiye.livevideo.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 *用户表 bean
 * @author tongling
 */
@ApiModel(description="用户表")
public class User   extends BaseBean {


	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	private String id;
	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "用户名")
	private String userName;
	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码")
	private String password;
	/**
	 * 盐值
	 */
	@ApiModelProperty(value = "盐值")
	private String salt;
	/**
	 * 真实姓名
	 */
	@ApiModelProperty(value = "真实姓名")
	private String realName;
	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像")
	private String headImg;
	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号")
	private String phone;
	/**
	 * 用户性别 0：未知、1：男、2：女
	 */
	@ApiModelProperty(value = "用户性别 0：未知、1：男、2：女")
	private Integer sex;
	/**
	 * 年龄
	 */
	@ApiModelProperty(value = "年龄")
	private Integer age;
	/**
	 * 是否为管理员/1：no/2:yes
	 */
	@ApiModelProperty(value = "是否为管理员/1：no/2:yes")
	private Integer isAdmin;
	/**
	 * 微信开放平台账号用户唯一标识
	 */
	@ApiModelProperty(value = "微信开放平台账号用户唯一标识")
	private String unionId;
	/**
	 * 微信公众号用户唯一标识
	 */
	@ApiModelProperty(value = "微信公众号用户唯一标识")
	private String openId;
	/**
	 * 账号状态1正常  2不正常
	 */
	@ApiModelProperty(value = "账号状态1正常  2不正常")
	private Integer status;
	/**
	 * qq
	 */
	@ApiModelProperty(value = "qq")
	private String qq;
	/**
	 * 注册时的ip
	 */
	@ApiModelProperty(value = "注册时的ip")
	private String registerIp;
	/**
	 * 最后一次登录时间
	 */
	@ApiModelProperty(value = "最后一次登录时间")
	private Date lastLoginTime;
	/**
	 * 国家
	 */
	@ApiModelProperty(value = "国家")
	private String country;
	/**
	 * 省份
	 */
	@ApiModelProperty(value = "省份")
	private String province;
	/**
	 * 城市
	 */
	@ApiModelProperty(value = "城市")
	private String city;
	/**
	 * 区/县
	 */
	@ApiModelProperty(value = "区/县")
	private String district;
	/**
	 * 街道
	 */
	@ApiModelProperty(value = "街道")
	private String street;
	/**
	 * 详细地址
	 */
	@ApiModelProperty(value = "详细地址")
	private String address;
	/**
	 * 昵称
	 */
	@ApiModelProperty(value = "昵称")
	private String nickName;
	/**
	 * 注册时间
	 */
	@ApiModelProperty(value = "注册时间")
	private Date registerTime;
	/**
	 * 修改人
	 */
	@ApiModelProperty(value = "修改人")
	private String updateUser;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;
	public String getId(){
		return id;
	}


	public void setId(String id){
		this.id=id;
	}


	public String getUserName(){
		return userName;
	}


	public void setUserName(String userName){
		this.userName=userName;
	}


	public String getPassword(){
		return password;
	}


	public void setPassword(String password){
		this.password=password;
	}


	public String getSalt(){
		return salt;
	}


	public void setSalt(String salt){
		this.salt=salt;
	}


	public String getRealName(){
		return realName;
	}


	public void setRealName(String realName){
		this.realName=realName;
	}


	public String getHeadImg(){
		return headImg;
	}


	public void setHeadImg(String headImg){
		this.headImg=headImg;
	}


	public String getPhone(){
		return phone;
	}


	public void setPhone(String phone){
		this.phone=phone;
	}


	public Integer getSex(){
		return sex;
	}


	public void setSex(Integer sex){
		this.sex=sex;
	}


	public Integer getAge(){
		return age;
	}


	public void setAge(Integer age){
		this.age=age;
	}


	public Integer getIsAdmin(){
		return isAdmin;
	}


	public void setIsAdmin(Integer isAdmin){
		this.isAdmin=isAdmin;
	}


	public String getUnionId(){
		return unionId;
	}


	public void setUnionId(String unionId){
		this.unionId=unionId;
	}


	public String getOpenId(){
		return openId;
	}


	public void setOpenId(String openId){
		this.openId=openId;
	}


	public Integer getStatus(){
		return status;
	}


	public void setStatus(Integer status){
		this.status=status;
	}


	public String getQq(){
		return qq;
	}


	public void setQq(String qq){
		this.qq=qq;
	}


	public String getRegisterIp(){
		return registerIp;
	}


	public void setRegisterIp(String registerIp){
		this.registerIp=registerIp;
	}


	public String getLastLoginTime_(){
		return DateUtils.formatDateTime(lastLoginTime);
	}


	@JsonIgnore
	public Date getLastLoginTime(){
		return lastLoginTime;
	}


	public void setLastLoginTime(Date lastLoginTime){
		this.lastLoginTime=lastLoginTime;
	}


	public String getCountry(){
		return country;
	}


	public void setCountry(String country){
		this.country=country;
	}


	public String getProvince(){
		return province;
	}


	public void setProvince(String province){
		this.province=province;
	}


	public String getCity(){
		return city;
	}


	public void setCity(String city){
		this.city=city;
	}


	public String getDistrict(){
		return district;
	}


	public void setDistrict(String district){
		this.district=district;
	}


	public String getStreet(){
		return street;
	}


	public void setStreet(String street){
		this.street=street;
	}


	public String getAddress(){
		return address;
	}


	public void setAddress(String address){
		this.address=address;
	}


	public String getNickName(){
		return nickName;
	}


	public void setNickName(String nickName){
		this.nickName=nickName;
	}


	public String getRegisterTime_(){
		return DateUtils.formatDateTime(registerTime);
	}


	@JsonIgnore
	public Date getRegisterTime(){
		return registerTime;
	}


	public void setRegisterTime(Date registerTime){
		this.registerTime=registerTime;
	}


	public String getUpdateUser(){
		return updateUser;
	}


	public void setUpdateUser(String updateUser){
		this.updateUser=updateUser;
	}


	public String getUpdateTime_(){
		return DateUtils.formatDateTime(updateTime);
	}


	@JsonIgnore
	public Date getUpdateTime(){
		return updateTime;
	}


	public void setUpdateTime(Date updateTime){
		this.updateTime=updateTime;
	}


}
